Sets the drawing environment to draw on-screen and off-screen.
Sets the select area to an empty region.
Stops execution of the PF-key program.
Used within an IF statement.
Used at the end of a block of statements. See IF, WHILE, and FOR.
FRAMEOVAL left, top, right, bottom
Frames an oval in the current pen, mode, and color.
FRAMERECT left, top, right, bottom
Frames a rectangle in the current pen, mode, and color.
Hides the cursor.
IF condition
statements
[ELSE
statements]
END
Conditional execution. No parenthesis are required.
Leaves a loop by jumping to the first statement outside the loop.
LIGHTING angle
Specifies the current angle to the light source from the current pixel, as if the pixel represented a part of a surface. An angle of 0 represents normal light, and an angle of π/2 represents parellel light.
LINE from_x, from_y, to_x, to_y
Draws a line in the current pen, mode, and color.
LOADCOLOR x, y
Loads the color of offscreen pixel (x,y) as the current draw color.
LOADOLDCOLOR x, y
Loads the color of the Undo buffer's pixel (x,y) as the current draw color.
MODE n
Sets the current draw mode.
Sets the drawing environment to draw off-screen only.
OVAL left, top, right, bottom
Draws a filled oval in the current mode and color.
PEN height, width
Sets the pen to rectangular.
PENROUND width
Sets the pen to oval in shape.
RECT left, top, right, bottom
Draws a filled rectangle in the current mode and color.
RGB red, green, blue
Sets the current draw color
SAVE left, top, right, bottom
Saves a portion of the off-screen area into the Undo buffer.
Sets the drawing environment to draw on-screen only.
SELECT x, y
Adds the point to the select region.
SETPIXEL x, y
Sets the specified pixel to the current color.
Displays the cursor.
UPDATE left, top, right, bottom
Updates the specified area. After a PF key, the entire window is automatically updated, so this statement is usually used for in-the-loop updating.
WHILE condition
statements
END
Executes the statements while the condition is true (nonzero), or until command-period is pressed, or a LEAVE statement is executed.